document.addEventListener('DOMContentLoaded', function() {
  const manifest = chrome.runtime.getManifest();
  document.title = `${manifest.name} v${manifest.version} ${manifest.author.email}`;
  
  // 在Mac系统中将窗口置于后台
  if (navigator.platform.indexOf('Mac') > -1) {
    chrome.runtime.sendMessage({ action: 'moveWindowToBack' });
  }
}); 